package com.woniu.gf.pawn.service.impl;

import com.woniu.gf.pawn.comm.core.domain.Image;
import com.woniu.gf.pawn.dao.ImageMapper;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniu.gf.pawn.service.IImageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Lucas
 * @since 2020-10-13
 */
@Service
public class ImageServiceImpl extends ServiceImpl<ImageMapper, Image> implements IImageService {

    @Autowired
    private ImageMapper imageMapper;

    @Override
    public List<Image> findByIds(List<Integer> ids) {

        return imageMapper.selectBatchIds(ids);
    }

}
